
<div class="row">
    <div class="col-md-12">
        <div class="panel panel-default">
            <div class="panel-heading">
                <h3 class="panel-title">管理员管理</h3>

            </div>
            <div class="panel-body">
                <form class="form-inline">
                    <div class="form-group">
                        <label for="userStatus">状态：</label>
                        <select id="userStatus" class="form-control input-sm">
                            <option value="">所有</option>
                            <option value="1">正常</option>
                            <option value="0">禁用</option>
                        </select>
                    </div>

                    <div class="pull-right">
                        <div class="form-group">
                            <label class="sr-only" for="userSearch">按输入电话号码查找</label>
                            <input type="search" id="userSearch" class="form-control input-sm" placeholder="输入员工ID/电话号码">
                        </div>
                        <button id="userSearchBtn" class="btn btn-primary" type="button">查询</button>
                    </div>
                </form>
            </div>


            <div class="panel-body">
                <button type="button" onclick="showDetail('','add')" class="btn btn-primary btn-sm">新增管理员</button>
                <table id="mainTable" class="table table-striped">

                </table>

            </div>
        </div>
    </div>
</div>

<div id="menuList" class="staff-dialog" style="display: none;">
    <div class="col-md-3" id="login-wrapper">
        <div class="panel panel-primary animated flipInY">
            <div class="panel-heading">
                <h3 class="panel-title">菜单配置</h3>
                <div class="actions pull-right">
                    <i id="menuListClose" class="fa fa-times"></i>
                </div>
            </div>
            <div class="panel-body">
                <form class="form-horizontal" role="form">
                    <div class="form-group">
                        <div class="col-md-12">
                            <ul id="treeDemo" class="ztree"></ul>
                        </div>
                    </div>

                    <div class="form-group">
                        <!--<div class="col-md-5">-->
                        <!--</div>-->
                        <div class="col-md-12">
                            <button id="btnMenuReset" type="reset" hidden>重置</button>
                            <a id="btnMenuConfirm" class="btn btn-primary btn-block">确定</a>
                        </div>
                    </div>
                </form>
            </div>
        </div>
    </div>
</div>

<div id="staffDialog" class="staff-dialog" style="display: none;">
    <div class="col-md-3" id="login-wrapper">
        <div class="panel panel-primary animated flipInY">
            <div class="panel-heading">
                <h3 class="panel-title">账号详情</h3>
                <div class="actions pull-right">
                    <i id="staffDialogClose" class="fa fa-times"></i>
                </div>
            </div>
            <div class="panel-body">
                <form class="form-horizontal" role="form">
                    <div class="form-group">
                        <div class="col-md-12">
                            <input type="text" class="form-control" id="sCode" placeholder="账号">
                        </div>
                    </div>
                    <div class="form-group">
                        <div class="col-md-12">
                            <input type="text" class="form-control" id="sName" placeholder="姓名">
                        </div>
                    </div>
                    <div class="form-group">
                        <div class="col-md-12">
                            <input type="text" class="form-control" id="sPwd" placeholder="密码">
                        </div>
                    </div>
                    <div class="form-group">
                        <div class="col-md-12">
                            <input type="tel" class="form-control" id="sPhone" placeholder="联系电话" maxlength="11">
                        </div>
                    </div>
                    <div class="form-group">
                        <!--<div class="col-md-5">-->
                        <!--</div>-->
                        <div class="col-md-12">
                            <button id="btnStaffReset" type="reset" hidden>重置</button>
                            <a id="btnStaffConfirm" class="btn btn-primary btn-block">确定</a>
                        </div>
                    </div>
                </form>
            </div>
        </div>
    </div>
</div>

<link rel="stylesheet" href=" /newshop/assets/css/zTreeStyle/zTreeStyle.css">
<script src=" /newshop/assets/js/jquery.ztree.core-3.5.js"></script>
<script src=" /newshop/assets/js/jquery.ztree.excheck-3.5.js"></script>

<script src="/newshop/user/admin.js"></script>